﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Traceability.App.Domain.Model
{
    public class BaseEntity
    {
        [Key]

        public int Id { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public string ?CreateUserName { get; set; }
        /// <summary>
        /// 修改人
        /// </summary>
        public string ?UpdateUserName { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; } = DateTime.Now;
        /// <summary>
        /// <summary>
        /// 修改时间
        /// </summary>
        /// </summary>
        public DateTime UpdateTime { get; set; } = DateTime.Now;
        /// <summary>
        /// 删除标识列
        /// </summary>
        public bool IsDeleted { get; set; } = false;

    }
}
